
LudWep = {}

function LudWep.AdminAction(self)
local ply = self.player
return ply:IsAdmin()
end

e2function number entity:isludwep()
	if not this.IsLudWeapon then return 0 end
	return 1
end

e2function void entity:firebullet(Damage, Explodes, Spread, Force, Number)
	if not LudWep.AdminAction(self) then return end
	if not this.IsLudWeapon then
		self:MakeBullet(Damage,Explodes,Spread,Force,Number)
	end
end

e2function void entity:fireshell(CCD, Size, Pos, Ang, Vel)
	if not LudWepAdminAction(self) then return end
	if not this.IsLudWeapon then
		this:MakeShell(CCD,Size,Pos,Ang,Vel)
	end
end

//ENT:MakeBullet(Damage, Explodes, Spread, Force, Number)
//ENT:MakeShell(CCD,Size,Pos,Ang,Vel)